# FROM continuumio/miniconda3
FROM jupyterhub/jupyterhub


RUN apt-get -y update  && \
    apt-get install --no-install-recommends -y curl wget vim iputils-ping telnet supervisor sudo && \
    pip install --no-cache-dir numpy matplotlib pandas msgpack nbgrader jupyter_contrib_nbextensions autopep8 jupyter-client==6.1.12 && \
    rm -rf /var/lib/apt/lists/*

# docker build -t xianzixiang/jupyter_grader:2.0.2 .

# RUN apt-get -y update && \
#     apt-get -y --no-install-recommends install apt-utils && \
#     apt-get -y upgrade

# opencv
# RUN apt-get -y install python3-opencv

# ENV CONDA=conda


# RUN apt-get install --no-install-recommends -y curl wget vim iputils-ping telnet supervisor systemd

# ENV http_proxy http://192.168.2.156:1080
# RUN curl cip.cc

# RUN $CONDA install -c conda-forge jupyterhub nbgrader -y

# RUN pip install --no-cache-dir numpy scipy matplotlib pandas msgpack jupyterhub-systemdspawner nbgrader jupyter_contrib_nbextensions autopep8


# RUN rm -rf /var/lib/apt/lists/*
# ENV http_proxy ""


# RUN jupyter nbextension disable --sys-prefix create_assignment/main && \
#     jupyter nbextension disable --sys-prefix formgrader/main --section=tree  && \
#     jupyter serverextension disable --sys-prefix nbgrader.server_extensions.formgrader